import Enum from '@/vng/enum'

// 节点属性数据
const props = [
  {
    key: 'Name',
    title: '名称',
    type: Enum.Field.STRING
  },
  {
    key: 'Density',
    title: '密度',
    type: Enum.Field.FLOAT,
    args: {
      precision: 2,
      min: 1.2,
      max: 1.4
    }
  },
  {
    key: 'Level',
    title: '标高',
    type: Enum.Field.FLOAT,
    args: {
      precision: 3
    }
  },
  {
    key: 'Power',
    title: '压能',
    type: Enum.Field.FLOAT,
    args: {
      precision: 3
    }
  },
  {
    key: 'Remark',
    title: '备注',
    type: Enum.Field.STRING,
    args: {
      multiline: true
    }
  }
]

export default { props, factory: null }
